package com.garbageteam.garbageserver.service;


import com.garbageteam.garbageserver.model.GarbageOut;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author luoxin on on 2019/7/3
 */
public interface IGarbageService {

    GarbageOut getGarbage(String garbageName);

    Page<GarbageOut> getGarbageList(Integer garbageType, Pageable pageable);
}
